import request  from "./http";


// 获取url
export function getSongUrl(params){
    return request({
        url:"song/url",
        method:"get",
        params
    })
}


// 获取歌词
export function getSongLyric(params){
    return request({
        url:"lyric",
        method:"get",
        params
    })
}

// 获取验证码

export function getCaptcha(params){
    return request({
        url:"captcha/sent",
        method:"get",
        params
    })
}


// 验证验证码

export function getCaptchaVerify(params){
    return request({
        url:"captcha/verify",
        method:"get",
        params
    })
}

// 获取歌曲评论
export function getCommit(params){
    return request({
        url:"comment/music",
        method:"get",
        params
    })
}


// 获取账号密码
export function getPassword(params){
    return request({
        url:"login/cellphone",
        method:"get",
        params
    })
}

//获取用户详细信息
export function getUserDetail(params){
    return request({
        url:"/user/detail",
        method:"get",
        params
    })
}

//获取用户歌单
export function getUserSongs(params){
    return request({
        url:"/user/playlist",
        method:"get",
        params
    })
}


//获取用户播放记录
export function getPlayHistory(params){
    return request({
        url:"/user/record",
        method:"get",
        params
    })
}

// 获取用户关注列表
export function getFollows(params){
    return request({
        url:"/user/follows",
        method:"get",
        params
    })
}